package com.project.bean;

import java.time.LocalDate;

public class ProgressBean {
    private Integer id;
    private LocalDate startDate= LocalDate.now();
    private String endDate="未完成";
    private EmployeeBean employeeBean;
    private ProjectBean projectBean;

    public ProgressBean(LocalDate startDate, String endDate, EmployeeBean employeeBean, ProjectBean projectBean) {
        this.startDate = startDate;
        this.endDate = endDate;
        this.employeeBean = employeeBean;
        this.projectBean = projectBean;
    }

    public ProgressBean() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public EmployeeBean getEmployeeBean() {
        return employeeBean;
    }

    public void setEmployeeBean(EmployeeBean employeeBean) {
        this.employeeBean = employeeBean;
    }

    public ProjectBean getProjectBean() {
        return projectBean;
    }

    public void setProjectBean(ProjectBean projectBean) {
        this.projectBean = projectBean;
    }

    @Override
    public String toString() {
        return "ProgressBean{" +
                "id=" + id +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", employeeBean=" + employeeBean +
                ", projectBean=" + projectBean +
                '}';
    }
}
